import i18n from '@/i18n'
import { DomainModel } from '@apps/flow/domain/model'
import { ApiProperty } from '@nestjs/swagger'

export class FlowFileTreeVo {
  @ApiProperty({ description: 'ID' })
  id: number

  @ApiProperty({ description: '分组名称' })
  groupLabel: string

  @ApiProperty({ description: '文件列表', type: [DomainModel.FlowFile] })
  files: DomainModel.FlowFile[]
}
